package com.study.day20190710;

public class MathTest {
    public static void main(String[] args) {
        System.out.println(Math.round(-2.5));
        System.out.println(Math.round(2.5));
        System.out.println();
        System.out.println(Math.round(-2.6));
        System.out.println(Math.round(2.6));
        System.out.println();
        System.out.println(Math.round(-2.4));
        System.out.println(Math.round(2.4));
    }
}
